package com.sport.video.gateway.config;

import com.sport.video.gateway.filter.AccessFilter;
import com.sport.video.gateway.filter.ErrorFilter;
import com.sport.video.gateway.filter.PostFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Bean实例配置
 *
 * @version 1.0
 * @Author Gred
 * @Date 2019/3/4 16:22
 **/
@Configuration
public class BeanConfig {

    @Bean
    public AccessFilter getAccessFilter() {
        return new AccessFilter();
    }

    @Bean
    public PostFilter getPostFilter() {
        return new PostFilter();
    }

    @Bean
    public ErrorFilter getErrorFilter(){
        return new ErrorFilter();
    }
}
